package com.dk.service;

import com.dk.ws.bean.Message;

import java.sql.Timestamp;
import java.util.List;

public interface ChatService {

    List<Message> getChatRecord(String sourceId, String destinationId);
    void saveChatRecord(String sourceId, String destinationId, String message, Timestamp time, int sendState);
    void deleteChatRecord(String sourceId,String destinationId);
    void updateOfflineMessage(String sourceId);
    boolean checkHaseOfflineMessage(String sourceId);
    List<Message> getOfflineMessage(String sourceId);
    List<String> getChatPeople(String sourceId);

}
